package com.easa.service;

import com.easa.bean.CurrentWeek;
import com.easa.entity.Semester;
import com.easa.entity.Weektable;

import java.util.Date;
import java.util.List;

public interface WeektableService{
    Weektable findWeekidByNow(Date today);
    String findSemesterName(String semester);
    List<Semester> findSemester();
    CurrentWeek findCurrentWeek();
    String findSemesterId(String semesterName);
    Weektable findWeekidBydateStr(String searchDate);
    Weektable findWeekById(String weekid);
    Semester getSemesterById(String semesterId);
    List<Weektable> findWeekBySemesterId(String semesterId);
    int setSemeter(Semester semester);
    int setWeek(Weektable weektable);
    void deleteWeeksBySid(String semesterId);
    void deleteSemester(String semesterId);
}
